package com.example.football.pojo;

import cn.hutool.core.date.DateTime;


import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

public class Schedule {
    private  Integer id;
    private String hometeam;
    private String guestteam;
    private Timestamp time;

    private String platform;
    private String league;

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getHometeam(){
        return hometeam;
    }
    public void setHometeam(String hometeam){
        this.hometeam = hometeam;
    }
    public String getGuestteam(){
        return guestteam;
    }
    public void setGuestteam(String guestteam){
        this.guestteam = guestteam;
    }
    public Timestamp getTime(){
        return time;
    }
    public void setTime(Timestamp time){
        this.time = time;
    }
    public String getPlatform(){
        return platform;
    }
    public void setPlatform(String platform){
        this.platform = platform;
    }
    public String getLeague(){
        return league;
    }
    public void setLeague(String league){
        this.league = league;
    }

    public Schedule(Integer id, String hometeam, String guestteam, Timestamp time, String platform,String league) {
        this.id = id;
        this.hometeam = hometeam;
        this.guestteam = guestteam;
        this.time = time;
        this.platform = platform;
        this.league = league;
    }

    public Schedule() {
    }
}
